#include <REGX52.H>
#include <INTRINS.H>
#include "LCD1602.h"
#include "Delay.h"

void main()
{
	LCD_Init();
	LCD_ShowChar(1, 1, 'A');
	LCD_ShowChar(1, 2, 'H');
	LCD_ShowChar(2, 3, 'B');
	LCD_ShowChar(2, 4, 'C');
	LCD_ShowChar(1, 1, 'A');
	LCD_ShowString(1, 1, "Hello LCD1602");
	LCD_ShowNum(2, 1, 187, 3);
	
	
	LCD_Init();
	LCD_ShowHexNum(2, 1, 0x88FA, 4);
	
	LCD_ShowSignedNum(2, 7, -88, 2);
	
	
	LCD_ShowBinaryNum(1, 1, 0xAB, 8);
	
//	LCD_Init();
//	LCD_ShowString(1, 1, "MAGA 2024! Trump");
//	LCD_ShowString(2, 1, "Make Amerigan Gream Again, 2024 MAGA");
//	
	while(1)
	{
//		Delay(500);
//		LCD_WriteCommand(0x18);
	}
}
